// 存数据
export const setItem = (key, value) => {
  return localStorage.setItem(key, JSON.stringify(value))
}
// 取数据
export const getItem = (key) => {
  return JSON.parse(localStorage.getItem(key))
}
// 删除数据
export const removeItem = (key) => {
  return localStorage.removeItem(key)
}
